package fanxing.test04;
/*
 * 实现泛型接口时，实现类也可以定义为泛型类
 * 实现类的泛型用于当前类的一些定义
 */
public class GenericTestImpl03<T> implements GenerivTest<String> {
    @Override
    public String sayHollo(String msg) {
        return "你好" + msg;
    }
    private T date;

    public T getDate() {
        return date;
    }

    public void setDate(T date) {
        this.date = date;
    }
}
